package com.zzzyh.forumsystemclient.services.impl;

import com.zzzyh.forumsystemclient.dao.SysDictDataMapper;
import com.zzzyh.forumsystemclient.model.SysDictData;
import com.zzzyh.forumsystemclient.services.IDictDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DictDataImpl implements IDictDataService {
    @Autowired
    private SysDictDataMapper sysDictDataMapper;

    @Override
    public List<SysDictData> selectDataByDictTypeCache(String dictType) {
        return sysDictDataMapper.selectDataByDictTypeCache(dictType);
    }
}
